package com.fary.mapper;

import com.fary.base.BaseMapper;
import com.fary.entity.PayMerchantInfo;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface PayMerchantInfoMapper extends BaseMapper<PayMerchantInfo> {

    @Update("UPDATE pay_merchant_info SET contact_wx_openid = NULL WHERE contact_wx_openid=#{wxOpenId}")
    int updateContactWxOpenid(String wxOpenId);
}
